//part1:C03:ex3.31.cpp
#include <iostream>
int main(void)
{
    using namespace std;
    const int sz = 10;
    int a[sz];
    for (int i = 0; i < sz; ++i)
    {
        a[i] = i;    
    }

    for (auto val : a) 
    {
        cout << val << " ";
    }
    cout << endl;
    return 0;
}
